Skip to content

Datamongo 753 #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Datamongo 753 #74

wants to merge 2 commits into from

Conversation

thomasdarimont
Copy link

No description provided.

Thomas Darimont added 2 commits September 19, 2013 16:58
…ations.

Introduced FieldsExposingAggregationOperation to mark AggregationOperations that 
change the set of exposed fields available for processing by later AggregationOperations.
Extracted context state out of AggregationOperation to ExposedFieldsAggregationContext for better separation of concerns.
Modified toDbObject in Aggregation to only replace the aggregation context  when the "current" AggregationOperation was a FieldExposingAggregationOperation.
Removed the getFields() method of UnwindOperation and changed it's type to just AggregationOperation since the UnwindOperation doesn't expose new fields to the context 
and retains all fields that are currently available.
Resolution of nested field references are working now.
thomasdarimont pushed a commit that referenced this pull request Sep 26, 2013
…n operations.

Aggregation pipelines now correctly handle nested field references in aggregation operations. We introduced FieldsExposingAggregationOperation to mark AggregationOperations that change the set of exposed fields available for processing by later AggregationOperations. Extracted context state out of AggregationOperation to ExposedFieldsAggregationContext for better separation of concerns. Modified toDbObject(…) in Aggregation to only replace the aggregation context when the current AggregationOperation is a FieldExposingAggregationOperation.

Original pull request: #74.
thomasdarimont pushed a commit that referenced this pull request Sep 26, 2013
…n operations.

Aggregation pipelines now correctly handle nested field references in aggregation operations. We introduced FieldsExposingAggregationOperation to mark AggregationOperations that change the set of exposed fields available for processing by later AggregationOperations. Extracted context state out of AggregationOperation to ExposedFieldsAggregationContext for better separation of concerns. Modified toDbObject(…) in Aggregation to only replace the aggregation context when the current AggregationOperation is a FieldExposingAggregationOperation.

Original pull request: #74.
@odrotbohm odrotbohm closed this Sep 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants